import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "By xiaoxu~",
  description: "What Can I Say?",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: 'Home', link: '/' },
      { text: '文档', link: '/docs'}
    ],
    sidebar: [
        //左侧的
      {
        text: '文档',
        items: [
          { text: 'MySQL日志', link: '/docs/back/MySQL log' },
          { text: 'Redis Interview', link: '/docs/back/RedisInterview'},
          { text: 'MySQL索引',link: '/docs/back/mySQLindex'},
          { text: 'MySQL锁',link: '/docs/back/MySQLLock'},
          { text: 'MySQL事务',link: '/docs/back/Transaction'}

        ]
      }
    ],
    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ]
  }
})
